/*
 * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.inspur.edp.metadata.rtcustomization.api.entity;

import lombok.Data;

@Data
public class ChangeMetadataSourceTypeResponse {
    /**
     * 元数据类型转换状态码
     * 0代表包元数据类型转换成功，1代表包名错误或者元数据包未发布
     */
    private int code;
    /**
     * 相应描述
     */
    private String description;

    public ChangeMetadataSourceTypeResponse() {}

    public ChangeMetadataSourceTypeResponse(int code, String description) {
        this.code = code;
        this.description = description;
    }
}